package com.chb.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chb.system.vo.UserAndDeptVo;
import com.hos.entity.sys.User;

import java.util.List;

/**
 * @author: 陈海彬
 * @date: Created in 2023/12/7 19:35
 * @description: 用户mapper层
 * @modified By:
 * @version: 1.0
 */
public interface UserMapper extends BaseMapper<User> {
/**
 * @create by: lqs
 * @description: 根据deptid查询表User
 * @create time: 2023/12/21
 * @param userId
 * @return
 */
    List<UserAndDeptVo> userList(Long deptId);

}